How can I console.log an individual attribute from a JSON payload object